Skip to content

Explicitly set repository name in the conventions plugins#6170

Merged
andremion merged 2 commits into
developfrom
set-reponame
Feb 20, 2026
Merged

Explicitly set repository name in the conventions plugins#6170
andremion merged 2 commits into
developfrom
set-reponame

Conversation

@gpunto
Copy link
Copy Markdown
Contributor

@gpunto gpunto commented Feb 19, 2026

Goal

The build conventions plugins, use the project name as a default for the repository name. That is used in things like spotless headers. I realized this has the downside that if you locally rename the project folder, spotless will try to change all headers. So instead I'm setting the name explicitly. I'll also make it mandatory in the plugin.

Implementation

Set the name

🎨 UI Changes

None

Testing

Try renaming the project folder and verify that spotlessCheck passes

Summary by CodeRabbit

  • Chores
    • Updated build configuration with a new repository identifier setting.

@gpunto gpunto added the pr:internal Internal changes / housekeeping label Feb 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 19, 2026

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled.

🎉 Great job! This PR is ready for review.

@gpunto gpunto added the pr:ignore-for-release Exclude from release notes label Feb 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 19, 2026

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 5.26 MB 5.26 MB 0.00 MB 🟢
stream-chat-android-offline 5.48 MB 5.48 MB 0.00 MB 🟢
stream-chat-android-ui-components 10.63 MB 10.63 MB 0.00 MB 🟢
stream-chat-android-compose 12.85 MB 12.85 MB 0.00 MB 🟢

@gpunto gpunto marked this pull request as ready for review February 19, 2026 15:26
@gpunto gpunto requested a review from a team as a code owner February 19, 2026 15:26
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 19, 2026

No actionable comments were generated in the recent review. 🎉


Walkthrough

Added a new configuration property repositoryName = "stream-chat-android" to the streamProject DSL block in the Gradle build script. This introduces a single configurable field without modifying any build behavior or dependencies.

Changes

Cohort / File(s) Summary
Build Configuration
build.gradle.kts
Added repositoryName property assignment with value "stream-chat-android" to the streamProject DSL configuration block.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A name for the stream, so clear and bright,
repository marked with "android" in sight,
One little property, simple and neat,
Making the build config ever more sweet! 🌿

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: explicitly setting the repository name in conventions plugins, which matches the primary objective of the changeset.
Description check ✅ Passed The description covers the required sections (Goal, Implementation, Testing) with clear explanations. However, it lacks the contributor checklist and reviewer checklist items, which are specified in the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch set-reponame

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gpunto gpunto enabled auto-merge (squash) February 19, 2026 15:37
@gpunto gpunto marked this pull request as draft February 19, 2026 16:12
auto-merge was automatically disabled February 19, 2026 16:12

Pull request was converted to draft

@gpunto gpunto marked this pull request as ready for review February 20, 2026 11:49
@sonarqubecloud
Copy link
Copy Markdown

@andremion andremion merged commit 38f908a into develop Feb 20, 2026
15 checks passed
@andremion andremion deleted the set-reponame branch February 20, 2026 13:32
@stream-public-bot stream-public-bot added the released Included in a release label Feb 24, 2026
@stream-public-bot
Copy link
Copy Markdown
Contributor

🚀 Available in v6.32.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ignore-for-release Exclude from release notes pr:internal Internal changes / housekeeping released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants